﻿<%@ page language="C#" autoeventwireup="true" inherits="Login" CodeFile="Login.aspx.cs" culture="auto:en-US" uiculture="auto" meta:resourcekey="PageResource1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="AjaxControlToolkit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Project Monitoring System</title>
    <link href="Ip.css" rel="stylesheet" type="text/css" />
    <link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <div style="left-margin:0px">
            <table width="100%" height="600" border="0" cellspacing="0" cellpadding="0">
                <tr valign="top">
                    <td valign="top" align="left" colspan="2" bgcolor="#9AB6DE">
                        <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/ipms banner.jpg" meta:resourcekey="Image1Resource1" />
                    </td>
                </tr>
                <tr valign="top" class="menu">
                    <td style="text-align: right;" valign="top" colspan="2">
                        <asp:LinkButton ID="lbEng" runat="server" CssClass="menu" meta:resourcekey="lbEngResource1"
                            Text="English"></asp:LinkButton>&nbsp;
                        <asp:LinkButton ID="lbTradChi" runat="server" CssClass="menu" meta:resourcekey="lbTradChiResource1"
                            Text="繁體中文"></asp:LinkButton>&nbsp;
                        <asp:LinkButton ID="lbSimpChi" runat="server" CssClass="menu" meta:resourcekey="lbSimpChiResource1"
                            Text="简体中文"></asp:LinkButton>&nbsp; &nbsp;</td>
                </tr>
				<tr><td height="10"></td></tr>
                <tr valign="top" height="100%">
                    <td width="100%" align="center">
                        <asp:Panel ID="Panel1" runat="server" Width="300px" CssClass="dropShadowPanel" meta:resourcekey="Panel1Resource1">
                            <div style="padding: 10px; text-align: center">
                                <div style="padding: 5px; border: solid black thin; background-color: #B4B4B4;">
                                    <asp:Login ID="Login1" runat="server" meta:resourcekey="Login1" DestinationPageUrl="~/Reminder.aspx"
                                        OnLoggedIn="Login1_LoggedIn" Width="100%" DisplayRememberMe="False" PasswordRecoveryText="Forgot your password?"
                                        PasswordRecoveryUrl="~/ForgotPassword.aspx" 
                                        onloginerror="Login1_LoginError">
                                        <TitleTextStyle Font-Size="11pt" />
                                        <CheckBoxStyle Font-Size="10pt" />
                                        <ValidatorTextStyle Font-Size="10pt" />
                                        <LabelStyle Font-Size="10pt" />
                                        <LayoutTemplate>
                                            <table border="0" cellpadding="1" cellspacing="0" style="border-collapse: collapse">
                                                <tr>
                                                    <td>
                                                        <table border="0" cellpadding="0" style="width: 100%">
                                                            <tr>
                                                                <td align="center" colspan="2" style="font-size: 11pt">
                                                                    <asp:Label ID="Label1" runat="server" Text="Label" meta:resourcekey="LoginResource">Log In</asp:Label> </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="left" style="font-size: 10pt; width: 88px;">
                                                                    <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" meta:resourcekey="UserNameLabelResource1" Text="User Name:" Width="100%"></asp:Label></td>
                                                                <td>
                                                                    <asp:TextBox ID="UserName" runat="server" meta:resourcekey="UserNameResource1" Width="127px"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                                                        ErrorMessage="User Name is required." Font-Size="10pt" ToolTip="User Name is required."
                                                                        ValidationGroup="Login1" meta:resourcekey="UserNameRequiredResource1">*</asp:RequiredFieldValidator>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="left" style="font-size: 10pt; width: 88px;">
                                                                    <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" meta:resourcekey="PasswordLabelResource1" Width="100%" Text="Password:"></asp:Label></td>
                                                                <td align="left">
                                                                    <asp:TextBox ID="Password" runat="server" TextMode="Password" meta:resourcekey="PasswordResource1" Width="127px"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                                                        ErrorMessage="Password is required." Font-Size="10pt" ToolTip="Password is required."
                                                                        ValidationGroup="Login1" meta:resourcekey="PasswordRequiredResource1">*</asp:RequiredFieldValidator>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="center" colspan="2" style="color: red">
                                                                    <asp:Literal ID="FailureText" runat="server" EnableViewState="False" meta:resourcekey="FailureTextResource1"></asp:Literal>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="right" colspan="2" style="height: 32px">
                                                                    <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Log In" ValidationGroup="Login1" meta:resourcekey="LoginButtonResource1" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="2">
                                                                    <asp:HyperLink ID="PasswordRecoveryLink" runat="server" NavigateUrl="~/ForgotPassword.aspx" meta:resourcekey="PasswordRecoveryLinkResource1" Text="Forgot your password?" Visible="False"></asp:HyperLink>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </LayoutTemplate>
                                    </asp:Login>
                                </div>
                            </div>
                        </asp:Panel>
                        <AjaxControlToolkit:DropShadowExtender ID="DropShadowExtender1" runat="server" TargetControlID="Panel1"
                            Rounded="True" Radius="6" Opacity="0.25" TrackPosition="True" Enabled="True">
                        </AjaxControlToolkit:DropShadowExtender>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
